import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '@/components/HelloWorld'
import item from '../pages/item'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'item',
      component: item
    },
    {
      path: '/pagetabs',
      name: 'pagetabs',
      component: () => import('@/components/pagetabs.vue')
    },
    {
      path: '/spageone',
      name: 'spageone',
      component: () => import('@/switchs/spageone.vue')
    },
    {
      path: '/tablepage',
      name:'tablepage',
      component: () => import('@/tabletest/tablepage.vue')
    },
    {
      path: '/cell',
      name:'cell',
      component: () => import('@/tabletest/cell.vue')
    },
    {
      path: '/secondpage',
      name:'secondpage',
      component: () => import('@/secondpage/secondpage.vue')
    },
    {
      path: '/yemian',
      name:'yemian',
      component: () => import('@/pages/yemian.vue')
    },
    {
      path: '/flexbuju',
      name:'flexbuju',
      component: () => import('@/pages/flexbuju.vue')
    },
    {
      path: '/yuyin',
      name:'yuyin',
      component: () => import('@/yuyin/index.vue')
    }
    // ,
    // {
    //   path: '/audit',
    //   name:'audit',
    //   component: () => import('@/pages/audit.vue')
    // }

  ]
})
